﻿using AutoWelding.DAL;
using AutoWelding.Models;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AutoWelding.BLL
{
    public class AlarmBLL
    {
        private AlarmDAL alarmDAL = new AlarmDAL();

        /// <summary>
        /// 获取报警信息列表
        /// </summary>
        public List<AlarmModel> GetAlarmList(string alarmType,DateTime startTime, DateTime endTime, int isHandled)
        {
            return alarmDAL.GetAlarmList(alarmType,startTime,endTime,isHandled);
        }
    }
}
